<?php
require_once "ModelBase.php";

class District extends TTEvent_Table_Abstract
{
	protected $_name = 'districts';
	protected $_primary = 'did';
	
	public function getAllDistrict($dId){
		$dId = (int)$dId;
		$sql = "SELECT * FROM districts WHERE did=".$dId;
		return $this->execSelectQuery($sql);
	}
}

